package core.providers;

import core.invernadero.*;

abstract public cclass Basico extends InvernaderoBasico{
	
	abstract public cclass Sensor{
		private boolean isOnSensor;
	
		public boolean onSensor(Evento evt){
			System.out.println(evt.idEvent() + " -- Encendido normal");
			isOnSensor = true;
			return isOnSensor;
			
		}
		
		public boolean offSensor(){
			System.out.println("Apagado normal");
			isOnSensor = false;
			return isOnSensor;
		}
	}
	
}
